//
//  BasicViewController.h
//  GongFuYaYi
//
//  Created by 马卿 on 15/12/23.
//  Copyright © 2015年 马卿. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BasicViewControllerDelegate <NSObject>

- (void)leftMenuHideOrShow;

- (void)postViewControllerWithCount:(NSInteger)count;

@end

@interface BasicViewController : UIViewController


@property(nonatomic,assign)BOOL presentEnter;


- (void)chageTitleNameWithName:(NSString *)name;

- (UIImageView *)createImageViewFrame:(CGRect)frame imageName:(NSString *)imageName color:(UIColor *)color;

- (UITextField *)createTextFieldfFrame:(CGRect)frame font:(UIFont *)font placeholder:(NSString *)placeholder;

- (UIButton *)createButtonFrame:(CGRect)frame backImageName:(NSString *)imageName title:(NSString *)title titleColor:(UIColor *)color font:(UIFont *)font target:(id)target action:(SEL)action;

- (void)createNaviBarButton;

@property(nonatomic,weak) id <BasicViewControllerDelegate> delegate;

@end
